import request from '@/utils/request'

export  function listquestionApi(query){
	return request({
		url:'/module/questions/list',
		method:'GET',
		params:query
		
	})
}
export  function listquestionApi2(query){
	return request({
		url:'/module/questions/list2',
		method:'GET',
		params:query
		
	})
}
export function addQuestion(data){
	return request({
		url:"/module/questions",
		method:'POST',
		data,
	})
}
export function getQusttionInfo(id){
	return request({
		url:'/module/questions/'+id,
		method:"GET",
		
	})
}
export function editQuestionApi(data){
	return request({
		url:'/module/questions',
		method:'PUT',
		data,
	})
}